package com.flower.domain.entity.product;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * (Product)表实体类
 *
 * @author lixinghe
 * @since 2022-10-18 17:07:29
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("shop_product")
public class Product {
    //主键
    @TableId
    private Long id;
    //商品名称
    private String name;
    //商品描述
    @TableField("`desc`")
    private String desc;
    //市场价
    private Double marketPrice;
    //关键字
    private String keyWord;
    //是否新品
    private Integer isNew;
    //状态 0未上架 1 已上架
    private Integer status;
    //价格
    private Double price;
    //商品轮播图
    private String silderImage;
    //商品详情描述图
    private String descImage;
    //商品分类id
    private Long cateId;
    //销量
    private Integer sales;
    //库存
    private Integer stock;
    //创建时间
    private Date createTime;
    //修改时间
    private Date updateTime;
    //是否是删除
    private Integer isDel;
    //是否热卖
    private Integer isHot;
    //是否喜欢
    private Integer isLike;

}

